const express = require('express')
const body = require('body-parser');
const app = express()

app.use(body({ extended: false }));
app.use(body.json());
const table = require('./app/table.js')
app.use('/static', express.static('./public'));
app.use('/api', table)
app.listen(8888)